import { proxyApi } from "../api/apiUtils"
import testApi from "../api/testApi"
import axios from "axios"

let e = document.createElement("div");
e.innerText = "hello world"
document.body.appendChild(e)

proxyApi(testApi, axios)

async function test() {
    try {
        await testApi.api1();
        await testApi.api2();
    } catch (error) {
        console.log(error)
    }
}

test();